#include <stdio.h>
#include <unistd.h>
#include <string.h>



int main()
{
    const char* fstr = "hello fwrite\n";
    const char* wstr = "hello write\n";

    // C函数
    printf("hello printf\n");
    fprintf(stdout, "hello frpintf\n");
    fwrite(fstr, strlen(fstr), 1, stdout);
    
   // 系统调用接口 
    write(1, wstr, strlen(wstr));
   

    close(1);

    fork();
    return 0;
}
